package com.three.core.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName tb_store
 */
@TableName(value ="tb_store")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Store implements Serializable {
    @TableId
    private Integer storeId;

    private String storeName;

    private String address;

    private String phone;

    private String city;

    private String province;

    private String storeimage;

    private String country;

    private Double longitude;

    private Double latitude;

    private String openTime;

    private String closeTime;

    private String status;

    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    private String updateBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    private StoreEvaluate storeEvaluate;

    private StoreLabels storeLabels;

    private Station station;

    private Double averageStar;

    private Integer stationNumber;

    private Integer stationIdle;

    private Integer stationUsed;

    // 新增标签字段
    private String labelContent;  // 对应 label_content
    private String labelId;       // 对应 label_id

    private Double storeDistance;

    private WashCarCoupon washCarCoupon;

    private static final long serialVersionUID = 1L;
}